import Cesium from '../Ces/Cesium'

class Config {
  static granularityFactor = 0.1;
  static windTailImageUrl = null
  static DetectiveLineOptions = {
    line: {
      _24小时警戒线: {
        positions: [[34, 127], [22, 127], [18, 119], [11, 119], [4.5, 113], [0, 105]],
        color: 'RGB(255.0, 255.0, 0.0)',
      },
      _48小时警戒线: {
        positions: [[34, 132], [15, 132], [0, 120], [0, 105]],
        color: 'RGB(0.0, 0.0, 255.0)',
      }
    },
    width: 2.0,
  };

  static get windTailImage() {
    return this.windTailImageUrl ?? Cesium.buildModuleUrl('we-assets/textures/wind_tail.png')
  }

  static get numThreadWasm(){
    return 8
  }
}


export default Config;
